import request from '@/utils/request'

// 查询车辆出场记录列表
export function listRecordOut(query) {
  return request({
    url: '/parking/recordOut/list',
    method: 'get',
    params: query
  })
}

// 查询车辆出场记录详细
export function getRecordOut(id) {
  return request({
    url: '/parking/recordOut/' + id,
    method: 'get'
  })
}

// 新增车辆出场记录
export function addRecordOut(data) {
  return request({
    url: '/parking/recordOut',
    method: 'post',
    data: data
  })
}

// 修改车辆出场记录
export function updateRecordOut(data) {
  return request({
    url: '/parking/recordOut',
    method: 'put',
    data: data
  })
}

// 删除车辆出场记录
export function delRecordOut(id) {
  return request({
    url: '/parking/recordOut/' + id,
    method: 'delete'
  })
}

